#include  <stdio.h>
#include  <string.h>
#define N 30                           /* 字符串最大长度 */
int main()
{	    	    
    int    n;
    char  str[N], min[N];
    printf("Input five countries' names:\n"); 
    gets(str);                          //2
    strcpy(min, str);                   //2
    for (n = 1; n < 5; n++)             
    {	    	    
        gets(str);                      //2
        if (strcmp(str, min) < 0)    //2
        {	    	    
            strcpy(min, str);        //2
        }
    }
    printf("The minimum is:%s\n", min);
    return 0;
}	